package com.wooshow.base.struts;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.opensymphony.xwork2.ActionSupport;
import com.wooshow.base.biz.SayHello;

public class FromSpringAction extends ActionSupport {

	private static final long serialVersionUID = -7745828073142778462L;
	
	private static Log log = LogFactory.getLog(FromSpringAction.class);
	
	private SayHello sayHello;

    public String execute() throws Exception {
    	log.info(sayHello.sayHello(FromSpringAction.class));
	    return super.execute();
    }

	public SayHello getSayHello() {
    	return sayHello;
    }

	public void setSayHello(SayHello sayHello) {
    	this.sayHello = sayHello;
    }

}
